let crypto = require("crypto")

function md5(password) {
    const MD5 = crypto.createHash('md5')
    return MD5.update(password).digest('base64')
}

exports.dealPassword = function(password) {
    return md5(md5(password).substr(11,7) + md5('qq0325'))
}